const http = require('http')
const app = http.createServer();
app.on('request', (req, res) => {
    res.setHeader('Content-Type', 'text/html;charset=utf-8')
    res.end('<h1>Hello World！</h1>')
})
app.listen(3000, () => {
    console.log("server is running...");
})